home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
nm.man
< prev
next >
Wrap
Text File
|
1991-10-07
|
2KB
|
133 lines
NM User Commands NM
NNAAMMEE
nm - print name list
SSYYNNOOPPSSIISS
nnmm [ --aaggnnoopprruu ] [ file ... ]
DDEESSCCRRIIPPTTIIOONN
_N_m prints the name list (symbol table) of each object _f_i_l_e
in the argument list. If an argument is an archive, a list-
ing for each object file in the archive will be produced.
If no _f_i_l_e is given, the symbols in "a.out" are listed.
Each symbol name is preceded by its value (blanks if unde-
fined) and one of the letters UU (undefined), AA (absolute), TT
(text segment symbol), DD (data segment symbol), BB (bss seg-
ment symbol), CC (common symbol), ff file name, or -- for
debugger symbol table entries (see --aa below). If the symbol
is local (non-external) the type letter is in lower case.
The output is sorted alphabetically.
Options are:
--aa Print symbol table entries inserted for use by
debuggers.
--gg Print only global (external) symbols.
--nn Sort numerically rather than alphabetically.
--oo Prepend file or archive element name to each output
line rather than only once.
--pp Don't sort; print in symbol-table order.
--rr Sort in reverse order.
--uu Print only undefined symbols.
UULLTTRRIIXX NNMM
The Ultrix version of nm, running on the DECstations, uses
different type letters. The letters are:
N nil storage class, compiler internal usage
T external text
t local text
D external initialized data
d local initialized data
Sprite v1.0 April 29, 1985 1
NM User Commands NM
B external zeroed data
b local zeroed data
A external absolute
a local absolute
U external undefined
G external small initialized data
g local small initialized data
S external small zeroed data
s local small zeroed data
R external read only
r local read only
C common
E small common
V external small undefined
SSEEEE AALLSSOO
ar(1), ar(5), a.out(5), stab(5)
Sprite v1.0 April 29, 1985 2